v-i characteristics of pn junction diode